#include <stdio.h>

int main()
{
    FILE* pfile;
    char str[100] = {};
    char* ptr_ch = str;
    pfile = fopen("up2low.txt", "w");
    scanf("%s", str);
    while (*ptr_ch)
    {
        if(*ptr_ch >= 'A' && *ptr_ch <= 'Z')*ptr_ch -= 'A' - 'a';
        fputc(*ptr_ch, pfile);
        ptr_ch++;
    }
    fputc('!', pfile);
    fclose(pfile);
    return 0;
}